from django.urls import path
# "GET /user/ HTTP/1.1"
# "GET /labels/ HTTP/1.1"
from apps.center.views import UserinfoListView, LabelsAPIView

urlpatterns = [
    path('user/', UserinfoListView.as_view({'get': 'list'})),
    path('upload/avatar/', UserinfoListView.as_view({'post': 'avatar'})),
    path('user/password/', UserinfoListView.as_view({'put': 'password'})),

    path('user/label/', LabelsAPIView.as_view()),
    path('labels/', LabelsAPIView.as_view()),
    # path('upload/avatar/', AvatarView.as_view()),
    # path('user/password/', PasswordView.as_view()),
]
